import java.util.Scanner;

public class caishu {
    public static void main(String[] args) {
        System.out.println("猜猜0-100");
        Scanner shu = new Scanner(System.in);
        double a = shu.nextDouble();
        for (int i = 0; i < 10; i++) {
            if(i==1){
                if (a==20){
                    System.out.println("你真厉害第一次就猜对了");
                    break;
                }else{
                    System.out.println("再猜猜看！");
                if (i>1||i<=5){
                Scanner b = new Scanner(System.in);
                double c = b.nextDouble();
                System.out.println("再输入一个数：");
                if (c==20){
                    System.out.println("你很聪明，猜对了！");
                    break;
                }else{
                    System.out.println("再猜猜看！");
            }if(i>5){
                System.out.println("笨蛋，猜那么多次！");
                break;
            }

        }
    }}}
}}
